package top.lingchen.blogapi.service;

import top.lingchen.blogapi.vo.Result;
import top.lingchen.blogapi.vo.params.CommentParam;

/**
 * @Author 凌宸
 * @create 2021-12-17 下午 2:50
 * @Description
 * @Version 1.0
 */
public interface CommentsService {
    /**
     * 根据文章 id 查询评论列表
     * @param articleId
     * @return
     */
    Result findCommentsByArticleId(Long articleId);
    /**
     * 新增评论
     * @param commentParam
     * @return
     */
    Result comment(CommentParam commentParam);
}
